package com.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.Tag;

public interface TagMapper {
	public List<Tag> listTag();

	public List<Tag> getTagById(@Param("id") Integer id);

	public Integer CountArticle(@Param("tagid") Integer tagid);

	public void addTag(Tag tag);

	public void deleteTag(@Param("id") Integer id);

	public Tag getTagsById(@Param("id") Integer id); 


}
